package com.otp.repository;

import com.otp.pojo.entity.PaperSubmission;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface PaperSubmissionRepository extends JpaRepository<PaperSubmission, Long> {
    List<PaperSubmission> findByPaperId(Long paperId);
    List<PaperSubmission> findByStudentId(Long studentId);
    List<PaperSubmission> findByStatus(String status);
}